package com.sgai.zero_robot.ui.control;


import android.text.TextUtils;

import com.sgai.zero_robot.base.BaseAdapter;
import com.sgai.zero_robot.databinding.ItemAlarmMessageBinding;

public class AlarmMessageAdapter extends BaseAdapter<String, ItemAlarmMessageBinding> {

    @Override
    protected void onBindView(ItemAlarmMessageBinding binding, int position, String info) {
        if (!TextUtils.isEmpty(info)){
            binding.tvTime.setText(info);
        }
    }
}